<?php
include '../_inc/start.php';
include '../_inc/session.php';
include '../_inc/head.php';
?>
</head>
<body>
	<div id="divTabuleiro" class="divTabuleiro">
		<table id="tabTabuleiro" border="0" cellspacing="0" cellpadding="0" class="tabTabuleiro">
		<colgroup>
			<col width="54" />
			<col width="54" />
			<col width="54" />
			<col width="54" />
			<col width="54" />
			<col width="54" />
			<col width="54" />
			<col width="54" />
		</colgroup>
		<tbody>
			<?php
			for ($x = 1; $x <= 8; $x++)
			{
				echo '<tr>';
				for ($y = 1; $y <= 8; $y++)
				{
					echo '	<td id="posicao_' . $x . $y . '" class="' . (((($y + ($x - 1)) % 2) == 0)?'tdBlack':'tdWhite') . '"></td>';
				}
				echo '</tr>';
			}
			?>
		</tbody>
		</table>
	</div>
	<?php
	for ($i = 0; $i < 32; $i++)
	{
		echo '<img id="peca_' . $i . '" src="" border="0" class="peca" onload="pecaLoad(this);" />';
	}
	?>
	<textarea name="txtStatus" id="txtStatus" class="txtStatus" readonly="readonly"></textarea>
</body>

</html>